package com.ly.cola.entity;

import com.alibaba.cola.event.DomainEventI;

/**
 * @Author LY
 * @create 2024/1/15 18:37
 * @Description 事件基础模型
 */
public class EventEntity implements DomainEventI {

    private Long id;
    private Integer status;
    private String message;

    public EventEntity(Long id, Integer status, String message) {
        this.id = id;
        this.status = status;
        this.message = message;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
